package com.qianbei.common.net.control;

public interface Constant {


    boolean isShowlog = true;

    /**
     * test
     * --------------------------------------发布版本要修改的东西----------------------------------------
     */

    //  ---------String URL1 = "http://t.jiemian.com:9000"; // 云测试
//    String WEN_DA_SHARE_URL = "http://t.jiemian.com/qianbei/answers/"; //问答分享测试URL


//    String URL = "http://test.vnu4.top/";
//      String URL = "http://vnu4.top/";
//    String URL = "http://dg91.cn/";// 测试
      String URL = "http://yuekan.btime.com/";   //正式
      String ADURL = "http://ad.51zjdb.cn/b";//广告链接

    /**
     * ---------------------------------------------------------------------------------------------
     */


    String URL_USER = URL + "transaction_app/sessions/";
    // 首页收索前辈接口
    String HOME_SEARCH_STRING = URL
            + "transaction_app/users/search";

    //获取赞赏orderId
    String REWARDS_URL = URL + "transaction_app/rewards";
    //赞赏支付
    String REWARDS_PAY_URL = URL + "transaction_app/rewards/pay";

    /*-------------------------个人主页 接口-------------------------------**/
    //获取主题评论
    String GET_THEME_COMMENT_URL = URL + "transaction_app/comments/more_comment";
    //主题评论推荐
    String RECOMMEND_THEME_COMMENT_URL = URL + "transaction_app/comments/recommend";
    //推荐前辈内容
    String RECOMMEND_QB_URL = URL + "transaction_app/recommends";
    //搜索推荐前辈
    String SEARCH_RECOMMONED_QB_URL = URL + "transaction_app/recommends/search_result";
    //查看别人的问答
    String OTHER_PERSONAL_URL = URL + "transaction_app/users/more_answer";
    //设置问答免费/取消免费
    String SET_ANSWER_FREE_URL = URL + "transaction_app/answers/free";
    //置顶推荐
    String STICKY_RECOMMEND_URL = URL + "transaction_app/answers/front";
    //编辑推荐前辈内容
    String EDIT_RECOMMEND_LANGUAGE_URL = URL + "transaction_app/recommends/%s";
    //删除推荐前辈
    String DELETE_RECOMMEND_QB_URL = URL + "transaction_app/recommends/%s";
    //问答详情相关问答
    String ABOUT_ANSWER_URL = URL + "transaction_app/answers/more_related_answers";

    //新发现页
    String NEW_FIND_URL = URL + "transaction_app/answers/discovery";

    /***
     * ---------------------------------------------问答相关------------------------------------------
     **/

    //问答价格监测
    String CHECK_ANSWER_PRICE_URL = URL + "transaction_app/answers/check_answer_price";
    //我的提问我的回答
    String MY_ANSWERS_URL = URL + "transaction_app/answers";
    //回答页面根据id查询相关信息
    String ANSWER_URL = URL + "transaction_app/answers/answer";
    //提交回答问题
    String COMMIT_ANSWER_URL = URL + "transaction_app/answers/";
    //问答详情页
    String WEN_DA_DETAIL_URL = URL + "transaction_app/answers/";


    //最新问答、热门问答、行业分类
    String TAG_SENIORITIES_URL = URL + "transaction_app/v1/users/tag_seniorities";

    //一元查看获取订单id
    String GET_WEN_DA_ID_URL = URL + "transaction_app/user_answers";

    //一元支付订单接口
    String ONE_YUAN_PAY_URL = URL + "transaction_app/user_answers/pay";//一元查看 支付

    //问答评论
    String WEN_DA_COMMENT_URL = URL + "transaction_app/answer_praises";

    //绑定微信账户
    String BIND_WE_CHAT_URL = URL + "transaction_app/bank_accounts/bind_weixin";

    //查看指定收入接口(问答功能版本)
    String LOOK_SETTLED_URL = URL + "transaction_app/balances/index_v1";

    //查看账户收入概况接口(问答功能版本)
    String LOOK_ACCOUNT_INCOMES_URL = URL + "transaction_app/bank_accounts/incomes_v1";

    //发起提问问题
    String ANSWER_QUESTION_URL = URL + "transaction_app/answers";

    //获取结算说明
    String TRANSACTION_EXPLAIN_URL = URL + "transaction_app/balances/tip";

    //获取各种说明
    String GET_TIP_URL = URL + "transaction_app/arrangement_tips";

    //开通问答获取信息
    String OPEN_WEN_DA_INFO_URL = URL + "transaction_app/user_answer_settings/answer_open_info";

    //开通问答
    String OPEN_WEN_DA_URL = URL + "transaction_app/user_answer_settings/open_answer";

    //问答注册协议
    String OPEN_WEN_DA_AGREEMENT_URL = URL + "qianbei/homes/registration?genre=2";

    /**
     * -------------------------------------------问答评论---------------------------------------------
     **/
    //最新、最热列表
    String NEWS_HOT_COMMENT_URL = URL + "transaction_app/answer_comments/more_comment";

    //发表评论、回复评论
    String PUBLISH_COMMENT_URL = URL + "transaction_app/answer_comments";

    //我评论的
    String MY_COMMENTED_URL = URL + "transaction_app/answer_comments";

    //评论我的
    String COMMENTED_ME_URL = URL + "transaction_app/answer_comments/more_commented_me";

    //赞我的
    String ZAN_ME_URL = URL + "transaction_app/answer_praises";

    //删除评论
    String DELETE_COMMENT_URL = URL + "transaction_app/answer_comments/";

    //详情评论列表
    String QUESTION_DETAIL_COMMENT_URL = URL + "transaction_app/answer_comments/more_comment";

    //投诉
    String COMPLAINT_URL4 = URL + "qianbei/reports/new?type=%s&answer_id=%s";//4
    String COMPLAINT_URL6 = URL + "qianbei/reports/new?type=%s&user_id=%s";//6
    String COMPLAINT_URL5 = URL + "qianbei/reports/new?type=%s&comment_id=%s";//5
    /**
     * -----------------------------------------用户相关-----------------------------------------------
     **/
    // 注册协议
    String REGIEST_AGREEMENT_URL = URL + "/Phone/zcxy";
    //    http://vnu4.top/Phone/zcxy
    // 在线客服
    String ONLINE_SERVICE_URL = URL + "master/online_services";

    //黑板报
    String BLACK_BOARD_URL = URL + "qianbei/transaction_blackboards";

    //使用帮助
    String USAGE_HELP_URL = URL + "qianbei/homes/help";

    // 更新个人资料 （注册后调用）
    String updatInfoString = URL
            + "transaction_app/users/update_info";
    /// 获取用户个人资料
    String user_info = URL + "transaction_app/users/user_info";

    // 获取前辈个人资料
    String GET_QIAN_BEI_INFO = URL + "transaction_app/users/get_user_info";

    //注册接口
    String Regist = URL + "transaction_app/sessions/signup";

    //第三方注册登录接口
    String OAUTH_SIGNIN_URL = URL + "transaction_app/sessions/oauth_signin";

    //绑定手机号码
    String BIND_PHONE_URL = URL + "transaction_app/users/bind_phone";

    //查看用户信息
    String GET_USER_INFO_BY_ID_URL = URL + "transaction_app/users/%s";
    /**
     * ------------------------------------用户系统相关接口---------------------------------------------
     */

    // 使用帮助接口
    String HELP_URL = URL
            + "transaction_app/transaction_helps";
    // 隐私申明接口
    String PRIVATYURL = URL
            + "transaction_app/privacy_statements";

    // 检查是否是前辈 申请成为前辈用
    String user_seniority_info = URL
            + "transaction_app/users/user_seniority_info";

    // 申请成为前辈
    String APPLY_QIAN_BEI_URL = URL + "transaction_app/v1/user_seniority_checks/seniority_apply";

    // 电脑端申请为前辈
    String APPLY_COMPUTER_QIAN_BEI_URL = URL + "qianbei/seniority_applies/pc_apply";

    // 查看申请人范例信息提示
    String APPLY_SENIORITY_URL = URL + "transaction_app/seniority_apply_examples";

    // 上传图片接口
    String upImage = URL + "transaction_app/pictures";

    String upImage2 = URL + "transaction_app/pictures/upload_answer_picture";

    // 修改前辈个人资料修改生活照上传接口
    String UPLOAD_IMG_URL = URL + "transaction_app/pictures/create_check_picture";

    // 前辈 主页分享 上线需要替换正式服务器
    String SHARE_URL = URL + "qianbei/users/";

    /**
     * ------------------------------评论相关----------------------------------------------------------
     */
    // 评论页面 进入评论页面请求服务器 要设定的评论数据
    String COMMENT_BEFOR = URL
            + "transaction_app/transaction_comment_types";
    // 添加评论
    String COMMENT_ADDS = URL + "transaction_app/comments";
    //发表预约评论
    String BOOKING_COMMENT_URL = URL + "transaction_app/comments/new_comment";

    //前辈回复评论
    String REPLY_COMMENT_URL = URL + "transaction_app/comments/reply_comment";

    /**
     * -----------------------------------订单相关----------------------------------------------------
     */
    // 退款请求接口
    String URL_REFUND = URL + "transaction_app/refunds";
    String URL_FINISH = URL
            + "transaction_app/bookings/finish_order";
    /**
     * ------------------------------------首页相关----------------------------------------------------
     */

    // 首页相关
    String HOME_URL = URL
            + "/transaction_app/users/home_seniorities";
    String HOME_URL1 = URL + "transaction_app/v1/homes";
    String HOME_URL1_3 = URL + "transaction_app/v1/homes/index_v1";


    //空数据的时候会调用
    String GETHOMETAG = URL + "transaction_app/tags";


//    http://vnu4.top/Edition/edition/
//    参数 versionumber/1.2
    /**
     * ----------------------------------主题相关------------------------------------------------------
     */
    // 查看指定主题接口
    String THEME_DETIAL = URL + "transaction_app/themes/";
    // 下架主题接口
    String THEM_OFF = URL + "transaction_app/themes/off_theme";
    // 上架主题接口
    String UPTHEME = URL + "transaction_app/themes/put_on_theme";
    // 发布主题接口
    String THEME_PUBLISH = URL + "transaction_app/themes";
    // 修改发布的主题
    String THEME_CHANGE = URL + "transaction_app/themes/";


    // 发布主题获取首单免费信息
    String THEME_FREE_URL = URL + "transaction_app/themes/theme_free_info";
    //新编辑发布主题
    String THEME_NEW_EDIT_PUBLISH_URL = URL + "transaction_app/v1/themes/%s";
    //发布新的主题
    String THEME_NEW_PUBLISH_URL = URL + "transaction_app/v1/themes";
    /**
     * -----------------------------------银行卡相关---------------------------------------------------
     */

    // 查看账户收入概况接口
    String MY_IMCOMING = URL
            + "transaction_app/bank_accounts/incomes";
    // 绑定银行卡
    String BIND_CARDS = URL + "transaction_app/bank_accounts";
    // 查看用户是否绑定银行卡
    String ISBANGDING = URL + "transaction_app/bank_accounts";

    String INCOMINGORDER = URL + "transaction_app/balances";

    /**
     * --------------------------------通话相关--------------------------------------------------------
     */
    // 查询可通话的订单信息接口*,拨打电话 前查询可通话的订单
    String FIND_ALLORDER = URL
            + "transaction_app/bookings/booking_orders";

    // 查询通话接口（此接口为接听方收到通话请求时向服务器请求通话的详细信息）
    String CALL_ING = URL
            + "transaction_app/bookings/calling_order";

    // 开始拨打电话 请求的接口
    String CALL_BEFORM = URL
            + "transaction_app/bookings/start_contact";// (此接口暂时只会由呼叫方请求一次)

    // 挂断电话 请求订单状态
    String CALL_FINISH_FINDORDER = URL
            + "transaction_app/bookings/calling_order";// (此接口为接听方收到通话请求时向服务器请求通话的详细信息）
    // )

    // 通话结束 请求的接口
    String CALL_END = URL
            + "transaction_app/bookings/end_contact";


    /**
     * ------------------------------问答相关的接口-----------------------------------------------------
     */
    String QUESETION_SET = URL + "transaction_app/answer_prices";

    String QUESETION_OPEN = URL + "transaction_app/user_answer_settings";


    String QUESETION_COLSE = URL + "transaction_app/user_answer_settings/answer_setting_destroy";


    String ORDER_PayURL = URL + URL + "transaction_app/bookings/pay";

    String QUESTION_PayURL = URL + "transaction_app/answers/pay";//问答提问支付


    /**
     * --------------------------------环信相关--------------------------------------------------------
     */

    //**** 订单状态 */
    String new1 = "new";// 新建立
    String passed = "passed";// 已通过
    String denied = "denied";// 已拒绝
    String paid = "paid";// 已支付
    String executed = "executed";// 待评价（过期自动完成、超出时间自动完成、晚辈点击完成）
    String finished = "finished";// finished
    String seniority_untreated_cancelled = "seniority_untreated_cancelled";// 前辈逾期未处理
    String refunding = "refunding";// 退款审核中（退款失败订单返回上一个状态）
    String refunded = "refunded";// refunded 5 退款成功
    String user_unpaid_cancelled = "user_unpaid_cancelled";// 晚辈逾期未支付


    /**
     * -------------------------------活动相关---------------------------------------------------------
     */

    String ACTIVITY_FIRST_ORDER_ON = "transaction_app/theme_discounts";

    String ADVERTISES = URL + "transaction_app/boot_advertises";


    /**
     * ------------------------------网页相关----------------------------------------------------------
     */
    String WEB_COLLECTION = URL + "/qianbei/user_seniority_collections";
    String WEB_HOMNE = URL + "/qianbei/answers/home";
    String WEB_HOMNE_SEARCH = URL + "/qianbei/answers";
    //web 个人主页
    String PERSONAL_URL = URL + "/qianbei/users/info/%s";
    String MY_ANSWER_URL = URL + "/qianbei/answers/list?type=2";
    String MY_QUESTION_URL = URL + "/qianbei/answers/list?type=1";
    String MY_LOOK_URL = URL + "/qianbei/answers/list";


    /**
     * -------------------------------改版个人展示------------------------------------------------------
     */

    //7.1 新版前辈个人页接口
    String PERSON_INFO = URL + "/transaction_app/users/info?";

    /**
     * -------------------------------Rxjava------------------------------------------------------
     */
    String RX_ACTION_1 = "updaFindView";
    String RX_ACTION_2 = "NOtification_after_anser_question";// 回答完问题的 标记

    //文章列表数据
    String HOME_LIST = "api/newslist/type/";
    //获取文章分类
    String HOME_LIST_TYPE = "api/typelist?";

    String JINBI_ADD = URL + "user/addpoint";
    //评论列表
    String COMMENT_LIST = URL + "news/commentlist/id/";
    //增加评论
    String ADD_COMMENT = URL + "news/addcomment";//http://vnu4.top/
    //意见反馈
    String FEEDBACK = URL + "Notice/feedbacka";//http://vnu4.top/Notice/feedbacka
    // 检查版本更新
    String CHECK_VERSION = URL + "Edition/edition/versionumber/";
    //统计广告点击数
    String AD_ADD_CLICK = URL + "ad/addclick/adid";
    /**
     * -------------------------------GaoQian------------------------------------------------------
     */


    //注册获取验证码
    String PHONE_REGISTER = URL + "Phone/registea";
    //注册
    String USER_REGISTER = URL + "Phone/registeb/";
    //登录
    String USER_LOGIN = URL + "Phone/landa";
    //获取重置密码验证码
    String FORGET_PASSWORD_AUTH_CODE = URL + "Phone/passback";
    //重置密码接口
    String FORGET_PASSWORD = URL + "Phone/passbackb";
    //视频列表接口
    String VIDEO_LIST = URL + "api/videolist/page/";
    //任务信息接口
    String GET_TASK = URL + "user/task/uid/";
    //签到接口
    String TO_SIGN = URL + "user/sign/uid/";
    //开宝箱接口
    String OPEN_TREASURE = URL + "user/box/uid/";
    //收入明细
    String DETAIL_OF_INCOME = URL + "user/point/uid/";
    //邀请码
    String INVIATE_CODE = URL + "phone/yaoqing/";
    //是否绑定支付宝和额度列表
    String ALIPAY_LIST = URL + "user/quota/uid/";
    //提现记录
    String ALIPAY_WDLIST = URL + "user/tixianlist/uid/";
    //绑定支付宝
    String BINDING_ALIPAY = URL + "user/alipay/";
    //提现
    String WITHDRAW_MONEY = URL + "user/tixian/";
    //个人信息
    String GET_PERSONAL_INFO = URL + "user/detail/uid/";
    //上传头像
    String UPLOAD_IMG = URL + "user/upload/";
    //修改昵称
    String UPDATE_NAME = URL + "user/editname/";
    //退出登录
    String EXIT_LOGIN = URL + "Phone/landtui/uid/";
    //晒收入
    String SHARE_INCOME = URL + "user/shaishouru/uid/";
    //分享链接
    String SHARE_WEBURL = URL + "user/fenxiangurl/uid/";
    //分享朋友圈奖励
    String SHARE_FRIENDS = URL + "user/fenxiangtask/uid/";
    //分享新闻奖励
    String SHARE_NEWS = URL + "user/newstask/uid/";
    //分享视频奖励
    String SHARE_VIDEO = URL + "user/videotask/uid/";
    //阅读增加奖励
    String READ_TASK = URL + "user/readtask/uid/";
    String PinLun_TASK = URL + "user/pingluntask/uid/";
    //晒收入奖励
    String SHAREINCOM_TASK = URL + "user/shourutask/uid/";
    //视频详情
    String VIDEO_INFO = URL + "api/videoinfo/id/";
    //新闻详情
    String ARTICLE_INFO = URL + "api/newsinfo/id/";
    //上传通讯录
    String UPLOADING_ADDRESS = URL + "user/postUserMoble/uid/";
    //判断是否绑定支付宝
    String ISBINDING_ALIPAY = URL + "user/juageAlipay/uid/";
    //抢红包
    String RED_WARS = URL + "activity/activitylists/uid/";
}
